Skip to content

Conversation

@FuzzyBS
Copy link
Contributor

@FuzzyBS FuzzyBS commented Oct 17, 2016

I think I've gotten the problem taken care of, but I haven't tested yet. @jeesus please test for me if you would be so kind.

Issues all regarded callback contexts. @victorjonsson we should consider replacing this one use of $.context because it's deprecated and has been removed in jQuery v.3.0. I think $.get(0) will provide the same thing?

Merge pull request victorjonsson#501 from FuzzyBS/master
$form.context.validationConfig not set for additional forms when
callback runs on first form setup.
In addition to previous commit, I realized that the Google validation
callback needed to identify which form so it wouldn't mark both forms,
so I created an array of callback functions each with a reference to a
form ID (which is created if not already present). Fingers crossed this
won't blow anything up!
For @jeesus to test with.
fixed jshint errors
@victorjonsson victorjonsson merged commit d57365d into victorjonsson:master Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants